__author__ = 'chenwei'
# -*- coding: utf-8 -*-
def is_none(arg):
    if arg is None:
        print("It's None")
    else:
        print("It 's {0},type is {1},bool value is {2}".format(arg,type(arg),bool(arg)))

if __name__ == '__main__':
    thing = None #None
    is_none(thing)
    thing = True #True
    is_none(thing)
    thing = False #False
    is_none(thing)
    thing = 0 #整型0
    is_none(thing)
    thing = 0.0 #浮点型0
    is_none(thing)
    thing = '' #空字符串
    is_none(thing)
    thing = [] #空列表
    is_none(thing)
    thing = () #空元祖
    is_none(thing)
    thing = {}  # 空字典
    is_none(thing)
    thing = set()  # 空集合
    is_none(thing)
    thing = "str"  # 列表
    is_none(thing)
    thing = ["1"]  # 列表
    is_none(thing)
    thing = (1)  # 元祖
    is_none(thing)
    thing = {1}  # 字典
    is_none(thing)
